package com.sc1.pojo;

public class EmpUser {
    private Integer id;
    private String username;
    private String password;
    private String job;
    private String dept;
    private Integer sal;
    public EmpUser() {}

    public EmpUser(String username, String password,
                   String job, String dept, Integer sal) {
        this.username = username;
        this.password = password;
        this.job = job;
        this.dept = dept;
        this.sal = sal;
    }

    public EmpUser(Integer id, String username, String password,
                   String job, String dept, Integer sal) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.job = job;
        this.dept = dept;
        this.sal = sal;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }
    public Integer getSal() {
        return sal;
    }
    public void setSal(Integer sal) {
        this.sal = sal;
    }
}
